package com.customization.webservice.flowtrigger;

import javax.jws.WebMethod;
import javax.jws.WebParam;

/*
**
配置文件\ecology\classbean\META-INF\xfire\services.xml下需要增加配置文件

    <!--flowTrigger Start-->
    <service>
        <name>flowTrigger</name>
        <namespace>oa.angelyeast.com</namespace>
        <serviceClass>com.customization.webservice.flowtrigger.Service</serviceClass>
        <implementationClass>com.customization.webservice.flowtrigger.ServiceImpl</implementationClass>
    </service>
    <!--flowTrigger end-->
*/

public interface Service {

    /**
     * 通用的webservice接口
     * @return WSRequestServiceOutput 接口调用结果类
     * @throws Exception
     */
    @WebMethod
    Output execute(@WebParam(name = "input") Input input) throws Exception;

    @WebMethod
    Output demo(@WebParam(name = "input") Input input) throws Exception;
}
